package jk.fox.annotaion;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author cuichao
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface RpcService {
    String id() default "";
    int  retires() default  0;
    long timeout() default  0;
    RetryState retry() default RetryState.Empty;
    Class<?> service() default Void.class;
}
